package com.hopu.blb_erp.mapper;

import com.hopu.blb_erp.entity.ProductHandover;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author A-Zhang
 * @since 2021-11-16
 */
public interface ProductHandoverMapper extends BaseMapper<ProductHandover> {

    List<ProductHandover> selectAllProductHandoverLimit(@Param("start") int start, @Param("length") int length,@Param("orderId") int orderId,@Param("handoverDate") LocalDate handoverDate);

    //查询所有未处理的交接单  或者其他的
    List<ProductHandover> selectAllProductHandover();

}
